﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace TopArtFinalProject.Models
{
    public class Song
    {
        public int SongID { get; set; }


        public string UserName { get; set; }/*Post by, uploader username*/

        /*Song Information*/
        [Required]
        [StringLength(50)]
        public string Title { get; set; }
        public string Artist { get; set; }
        public int ArtistID { get; set; }
        public string Album { get; set; }
        public int AlbumID { get; set; }
        public string Genre { get; set; }
        public string ImagePath { get; set; }
        public DateTime ReleseDate { get; set; }

        /*Links*/
        public string FacebookLink { get; set; }
        public string TwitterLink { get; set; }
        public string VideoLink { get; set; }
        public string YoutubeChannel { get; set; }
        public string GooglePlus { get; set; }
        public string EmbededData { get; set; }

        /*Ratings*/
        public int RatingID { get; set; }
        public int FiveStars { get; set; }
        public int FourStars { get; set; }
        public int ThreeStars { get; set; }
        public int TwoStars { get; set; }
        public int OneStars { get; set; }
        public int TotalStars { get; set; }
        public double AvgStars { get; set; }

        /*Feature Use*/
        public string FeatureValue1 { get; set; }
        public string FeatureValue2 { get; set; }
        public string FeatureValue3 { get; set; }
        public int ReviewID { get; set; }
    }

    
        /*Data base intrface*/
        public class SongContext : DbContext
        {
            public DbSet<Song> Songs { get; set; }
        }
        

    
}